<template>
  <div>
    <el-menu
      default-active="1"
      class="el-menu-vertical-demo"
      style="min-height: 550px"
    >
      <el-menu-item index="1" @click.native="userManage">
        <i class="el-icon-user"></i>
        <span slot="title">用户管理</span>
      </el-menu-item>
      <el-menu-item index="2" @click="inoManage">
        <i class="el-icon-first-aid-kit"></i>
        <span slot="title">接种管理</span>
      </el-menu-item>
      <el-menu-item index="3" @click="orderManage">
        <i class="el-icon-document"></i>
        <span slot="title">预约管理</span>
      </el-menu-item>
      <el-menu-item index="4" @click="showDetail">
        <i class="el-icon-user-solid"></i>
        <span slot="title">个人信息</span>
      </el-menu-item>
    </el-menu>
  </div>
</template>

<script>
export default {
  name: "Aside",
  methods: {
    userManage() {
      this.$router.push("/admin/usermanage");
    },
    inoManage() {
      this.$router.push("/admin/inoculatemanage");
    },
    orderManage() {
      this.$router.push("/admin/ordermanage");
    },
    showDetail() {
      this.$router.push("/admin/detail");
    },
  },
};
</script>

<style>
</style>